package com.bst.bsj.common.dal.daointerface;

import java.util.List;
import java.util.Map;
import com.bst.bsj.common.dal.dataobject.Message;
import com.sylinxsoft.tools.dao.CommonBaseDAO;

public interface MessageDAO extends CommonBaseDAO {
  /*
   *总条数，条件查询
   */
  public Long getCounts(Map<String,Object> paramMap);

  /*
   * 分页查询
   */
  public List<Message> selectAll(Map<String,Object> paramMap);
  

  /*
   *增加
   */
  public Long insert(Message message);

  /*
   *删除
   */
  public int delete(Long id);
}
